package com.hoshing.test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hskj
 * @since 2021-12-10
 */
@Data
@Accessors(chain = true)
public class TAuditLog  {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 周期编号，从1开始，系统每重启一次，自动加1
     */
    private Integer epoch;

    private Long sendSequence;

    /**
     * 发送的消息体
     */
    private String sendBody;

    /**
     * 接收到的消息体
     */
    private String receiveBody;

    private LocalDateTime createTime;

    /**
     * 消息状态：<0>: = 失败; <1>: = 发送成功且收到响应；<2>: = 发送成功但未收到响应; <3>: = 未能发送
     */
    private String status;

    private LocalDateTime updateTime;


}
